package com.lqe.mapper;
import com.lqe.pojo.User;
import org.apache.ibatis.annotations.*;

import java.util.List;

public interface UserMapper {


    List<User> queryAllUser();

    List<User> queryUserAndRole();

    User queryUserById(int id);

    void insertUser(User user);

    void deleteUserById(int id);

    void updateUser(User user);

}
